individual folders contain R-scripts needed to calculate the LPI (and outputs)


### 'Original with marked errors' ###
#####################################
all mentioned errors in Supplementary Notes are marked in scripts
ERRORS IN THE CODE.txt - the list and description of errors
LPI_original.R - commands for analysis
LPI_original.RData - outputs

### 'Corrected' ###
###################
fixed errors in the code
CORRECTIONS IN THE CODE.txt - the list of corrections
LPI_corrected.R - commands for analysis
LPI_corrected.RData - outputs

### 'Changed' ###
#################
corrected scripts supplemented by the functions needed for the analyses in this study
CHANGED.txt - the list of changes
LPI_changed.R - commands for analysis
LPI_changed.RData - outputs


the structure and form of the scripts is kept as in the original scripts (https://github.com/Zoological-Society-of-London/rlpi)

